package com.bz.websocket;

import java.util.Map;

/**
 * @author zhongyongbin
 * @since 2021/5/10
 */
public class RequestProtocol {

    private ProtocolAction action;

    private String biz;

    private String userId;

    private Device device;

    private String token;

    private Map<String, Object> payload;

    public ProtocolAction getAction() {
        return action;
    }

    public void setAction(ProtocolAction action) {
        this.action = action;
    }

    public String getBiz() {
        return biz;
    }

    public void setBiz(String biz) {
        this.biz = biz;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Device getDevice() {
        return device;
    }

    public void setDevice(Device device) {
        this.device = device;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Map<String, Object> getPayload() {
        return payload;
    }

    public void setPayload(Map<String, Object> payload) {
        this.payload = payload;
    }
}
